import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// Vant轻提示
import {
  Toast,
  Uploader,
  Dialog,
  Field,
  Picker,
  Popup,
  Icon,
  Tab,
  Tabs,
  List,
  PullRefresh,
  Search
} from "vant";

Vue.use(Toast)
  .use(Uploader)
  .use(Dialog)
  .use(Field)
  .use(Picker)
  .use(Popup)
  .use(Icon)
  .use(Tab)
  .use(Tabs)
  .use(List)
  .use(PullRefresh)
  .use(Search)

// 设置当前的环境为开发环境
Vue.config.productionTip = false

// 引入重置样式文件
import '@/styles/reset.less'
// 引入路由
import router from '@/router/index.js'

new Vue({
  router, // 注入路由
  render: h => h(App),
}).$mount('#app')